public class ParkingVO {
	
	public static int DEFINE_CAR_TYPE = 0;
	public static int DEFINE_ENTER_TIME = 1;
	public static int DEFINE_EXIT_TIME = 2;
	
	public String carType;
	public String enterSplitTime; 
	public String exitSplitTime;
	int[] enterTime = new int[]{0, 0};
	int[] exitTime = new int[]{0, 0};
	int totalTime;
	static int totalCharge = 2000; 
	int carTypeCheck=0;
	
	

	
	

	public void inputTextSplitData(String userInputText) {
		
		
		
		String[] splitData = userInputText.split("\\s");
		carType = splitData[0];
		enterSplitTime = splitData[1];
		exitSplitTime = splitData[2];
		
		}
	
    public void enterTimeSplitData(){
    	

    	String[] splitTime = enterSplitTime.split(":");
    	enterTime[0] = Integer.valueOf(splitTime[0]);
    	enterTime[1] = Integer.valueOf(splitTime[1]);
    	
    }
    
   public void exitTimeSplitData(){
	String[] splitTime = exitSplitTime.split(":");
 	exitTime[0] = Integer.valueOf(splitTime[0]);
 	exitTime[1] = Integer.valueOf(splitTime[1]);
   }
    
    
   }